#ifndef  __IIC_H__
#define	 __IIC_H__
#include "iodefine.h"
#include "compler.h"
   #ifndef __IIC_C__
     #define EFunc extern
     #define EDat  extern
   #else
     #define EFunc
     #define EDat
   #endif
EFunc void iic_init(void);
EFunc unsigned char iic_start(void);
EFunc unsigned char iic_restart(void);
EFunc void iic_stop(void);
EFunc void iic_rstop(void);

EFunc unsigned char iic_send_dat(unsigned char *dat,unsigned short datlen);
EFunc unsigned char iic_rece_dat(unsigned char daddr,unsigned char *dat,unsigned short datlen);
#undef EFunc
#undef EDat
#endif